package com.iris.live.services.common.reconsitution;

import java.util.ArrayList;
import java.util.List;

/**
 * yitianle
 * 常用设置默认值
 * 2017/02/20.
 */
public class DefaultValueConstant {

    public static final char STR_KEY = ',';//ios task

    public static final int PLATFORM_iOS_TASK = 0;//ios task
    public static final int PLATFORM_iOS_MGT = 1;//ios mgt
    public static final int PLATFORM_ANDROID_TASK = 2;//安卓 task
    public static final int PLATFORM_ANDROID_MGT = 3;//安卓 mgt
    public static final int PLATFORM_PC_DEALER = 4;//pc 经销商
    public static final int PLATFORM_PC_GROUP = 5;//pc 集团



    public static final boolean SET_PASS = true;//通过
    public static final boolean SET_FULL = false;//失败、驳回
    public static final String SPLIT_STR =",|;";//分割字符

    public static final String SET_PASS_STR = "true";//通过
    public static final String SET_FULL_STR = "false";//失败、驳回

    //车资确认入口
    public static final int CHECK_CAR_SOURCE_IN =1;//车辆资源确认入口
    public static final int CHECK_CAR_SOURCE_OUT =0;//正常审批流程入口
    //确认状态
    public static final String CHECK_CAR_SOURCE_PASS ="01";//已经通过
    public static final String CHECK_CAR_SOURCE_HOLD="00";//待确认

    //消息设置
    public static final String MESSAGE_SET_TYPE_IN_SALSE ="1";//调入-自动通知提出申请的销售行政
    public static final String MESSAGE_SET_TYPE_IN_FANCE ="2";//调入-自动通知财务信息
    public static final String MESSAGE_SET_TYPE_OUT_SALSE ="3";//调出-自动通知本店负责调车事宜的销售行政
    public static final String MESSAGE_SET_TYPE_OUT_FANCE ="4";//调出-自动通知财务信息
    public static final String MESSAGE_SET_TYPE_CHECK_SOURCE ="5";//资源确认-自动通知销售行政
    public static final String MESSAGE_SET_TYPE_FINANCE_DEPOSIT_CHECK ="6";//财务订金确认-自动通知财务信息
    //消息构建文本前缀类型
    public static final String MESSAGE_HEAD_AGREEMENT_PASS ="合同";//合同通过审批
    public static final String MESSAGE_HEAD_AGREEMENT_UPDATE ="修改合同";//合同修改审批
    public static final String MESSAGE_HEAD_TICKET_CHANGE ="换票";//合同修改审批
    public static final String MESSAGE_HEAD_CHANGE ="资源确认";//合同修改审批
    public static final String MESSAGE_HEAD_FINANCE_DEPOSIT_CHECK_CHANGE ="财务订金确认";//订单转合同

    //是否需要资源确认
    public static final String CHECK_CAR_SOURCE_YES ="1";//是
    public static final String CHECK_CAR_SOURCE_NO ="0";//否

    //用户角色
    public static final String SYS_ROLE_FANCE ="财务专员";
    public static final String SYS_ROLE_SALEADMIN ="销售行政";
    //DMS  导入  车辆的采购价（含税)/车辆MSRP(含税)
    public static final double DMS_MAX_PRICE_RATE =0.98;
    public static final double DMS_MIN_PRICE_RATE =0.90;

    //离店截至时间设置
    public static final String  Customer_Leave_State_Time="17:30:00";


    /**
     * 个性化excel模板整合映射文件模块节点
     */
    public static  final String CONFIG_ODE_NAME_DONGCHANG_STOCK="dongChangStock";//东昌库存
    public static  final String CONFIG_ODE_NAME_LIVE_SI_FIVE_STAR = "siFivestar";//live si 厂家延保
    public static  final String CONFIG_ODE_NAME_LIVE_SI_THREE_SECURE = "siThird";//live si 三方延保
    public static  final String CONFIG_ODE_NAME_LIVE_SI_FINANCIAL="siFinance";//live si 金融手续
    public static  final String CONFIG_ODE_NAME_LIVE_SI_DISCOUNT="siDiscount";//live si 贴息
    public static  final String CONFIG_ODE_NAME_LIVE_SI_MARKET="siMarket";//live si 后市场成本
    public static  final String CONFIG_ODE_NAME_LIVE_SI_INSURANCE="siInsurance";//live si 保险手续
    public static  final String CONFIG_ODE_NAME_LIVE_SI_BMBS="siBmbs";//live si 随车

    public static  final int REPORT_LIVE_SI_THREE_SECURE = 10;//live si 三方延保
    public static  final int REPORT_LIVE_SI_MARKET_BUY = 8;//live si 后市场成本非赠送
    public static  final int REPORT_LIVE_SI_MARKET_GIVE = 7;//live si 后市场成本赠送
    public static  final int REPORT_LIVE_SI_FIVE_STAR = 9;//live si 厂家延保
    public static  final int REPORT_LIVE_SI_FINANCIAL=3;//live si 金融手续
    public static  final int REPORT_LIVE_SI_DISCOUNT=4;//live si 贴息
    public static  final int REPORT_LIVE_SI_MARKET=5;//live si 后市场成本
    public static  final int REPORT_LIVE_SI_INSURANCE=2;//live si 保险手续
    public static  final int REPORT_LIVE_SI_BMBS=1;//live si BMBS
    public static  List<Integer> SIRETAIL = new ArrayList<Integer>();

    public static final int REPORT_FORM_STOCK_FORECAST_ORDER_TYPE = 1;
    public static final String REPORT_FORM_STOCK_FORECAST_ORDER_NAME = "库存预测_车型订单销数据预测";
    public static final int REPORT_FORM_STOCK_FORECAST_COLOR_TYPE = 2;
    public static final String REPORT_FORM_STOCK_FORECAST_COLOR_NAME = "库存预测_颜色选择预测";
    public static final int REPORT_FORM_STOCK_FORECAST_CAR_TYPE = 3;
    public static final String REPORT_FORM_STOCK_FORECAST_CAR_NAME = "库存预测_车款选择预测";
    public static final int REPORT_FORM_STOCK_FORECAST_PURCHASE_TYPE = 4;
    public static final String REPORT_FORM_STOCK_FORECAST_PURCHASE_NAME = "库存预测_采购预测";

    public static final int REPORT_FORM_GROSS_PROFIT_FORECAST_HIGHLIGHT_TYPE = 5;
    public static final String REPORT_FORM_GROSS_PROFIT_FORECAST_HIGHLIGHT_NAME = "销售毛利预测_高亮数据";
    public static final int REPORT_FORM_GROSS_PROFIT_FORECAST_STOCK_TYPE = 6;
    public static final String REPORT_FORM_GROSS_PROFIT_FORECAST_STOCK_NAME = "销售毛利预测_库存管理";
    public static final int REPORT_FORM_STOCK_FORECAST_FUNNEL_TYPE = 7;
    public static final String REPORT_FORM_STOCK_FORECAST_FUNNEL_NAME = "销售毛利预测_漏斗管理";
    public static final int REPORT_FORM_STOCK_FORECAST_NEW_CAR_TYPE = 8;
    public static final String REPORT_FORM_STOCK_FORECAST_NEW_CAR_NAME = "销售毛利预测_新车毛利管理";
    public static final int REPORT_FORM_STOCK_FORECAST_OTHER_TYPE = 9;
    public static final String REPORT_FORM_STOCK_FORECAST_OTHER_NAME = "销售毛利预测_衍生业务管理";
    public static final int REPORT_FORM_STOCK_FORECAST_TOTAL_TYPE = 10;
    public static final String REPORT_FORM_STOCK_FORECAST_TOTAL_NAME = "销售毛利预测_综合毛利";

    /**
     * 初始化零售SI包含字典中的ID项
     * @return
     */
    public static  List<Integer> getSiInIdList(){
        List<Integer> idList = new ArrayList<Integer>();
        idList.add(1);
        idList.add(2);
        idList.add(3);
        idList.add(4);
        idList.add(5);
        idList.add(6);
        idList.add(7);
        idList.add(8);
        idList.add(11);
        idList.add(12);
        idList.add(13);
        idList.add(14);
        idList.add(15);
        idList.add(20);
        idList.add(21);
        idList.add(22);
        idList.add(23);
        idList.add(25);
        idList.add(26);
        idList.add(29);
        idList.add(30);
        idList.add(31);
        idList.add(32);
        idList.add(33);
        idList.add(34);
        idList.add(35);
        return idList;
    }

}
